CE Gobi SDK  2.7
GobiApi
GobiAPIDefs.h
1 #ifndef __GobiAPIDef_h__
2 #define __GobiAPIDef_h__
3 
4 /*=========================================================================*/
5 // Definitions
6 /*=========================================================================*/
7 #ifdef GOBIAPI_EXPORTS
8  #define IMPORTGOBI extern "C" __declspec( dllexport )
9 #else //GOBIAPI_EXPORTS
10  #ifdef __cplusplus
11  /* C++ callable DLL */
12  #define IMPORTGOBI extern "C" __declspec( dllimport )
13  #else
14  /* C callable DLL */
15  #define IMPORTGOBI __declspec( dllimport )
16  #endif
17 #endif //GOBIAPI_EXPORTS
18 
20 
21 #ifdef GOBIAPI_EXPORTS
22  #define SWIIMPORT extern "C" __declspec( dllexport )
23 #else //GOBIAPI_EXPORTS
24  #ifdef __cplusplus
25  /* C++ callable DLL */
26  #define SWIIMPORT extern "C" __declspec( dllimport )
27  #else
28  /* C callable DLL */
29  #define SWIIMPORT __declspec( dllimport )
30  #endif
31 #endif //GOBIAPI_EXPORTS
32 
33 // Calling convention for API
34 #define SWICALLBACK __stdcall
35 #define SWICMAPI __stdcall
36 
37 // Calling convention for API
38 #define GOBICALLBACK __stdcall
39 #define GOBICMAPI __stdcall
40 // Calling convention for API
41 #define GOBIAPI __cdecl
42 
44 #ifdef GOBIAPI_EXPORTS
45  #define QCIMPORT2K extern "C" __declspec( dllexport )
46 #else //GOBIAPI_EXPORTS
47  #ifdef __cplusplus
48  /* C++ callable DLL */
49  #define QCIMPORT2K extern "C" __declspec( dllimport )
50  #else
51  /* C callable DLL */
52  #define QCIMPORT2K __declspec( dllimport )
53  #endif
54 #endif //GOBIAPI_EXPORTS
55 
56 // Calling convention for API
57 #define QCCALLBACK2K __stdcall
58 #define QCWWANAPI2K __stdcall
59 
60 #endif